<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="<?=$refresh?>;url=<?=$redirect?>">
<title><?=$title?></title>
<style>
body {font:12px Tahoma, Verdana, Arial; line-height:160%;}

#feedback {width:500px; margin:100px auto 80px auto; border:1px solid #CAD9EA; text-align:left;}
#feedback .head {border-bottom:1px dashed #CAD9EA; height:30px; line-height:30px; padding:0 0 0 10px; color:#000; font-size:14px; font-weight:bold;}
#feedback .body {padding:25px 15px; text-align:center;}
#feedback .body .message {}
#feedback .body .control {margin-top:20px;}
#feedback .tip { padding:5px; color:red; font-size:12px; text-align:left; border-top:1px dashed #CAD9EA;}

#debuginfo {border-top:4px solid #DEEFFA; padding-top:10px;}
#debuginfo em, #debuginfo i {color:red;}
#debuginfo pre {margin:5px 0; padding:5px; border:1px dashed #E0E0E0; font:12px 'Courier New'; font-style:italic; color:#00AA00;}
</style>
</head>
<body>
<div id="tbody">
  <div id="feedback">
    <div class="head"><?=$title?></div>
    <div class="body">
      <div class="message"><?=$message?></div>
      <div class="control"><a href="<?=$redirect?>" title=""><?=$linktext?></a></div>
    </div>
    <div class="tip"><b>提示：</b>按下回车键页面将会立即跳转到链接页面</div>
  </div>
</div>
<? if (EGP_Core::debug()) { ?>
<div id="debuginfo">
<? $monitor = EGP_Registry::get('db')->getMonitor(); ?>
页面运行时间 <em><?=number_format(microtime(true)-START_TIME, 8, '.', '')?></em> 秒，共个 <em><?=count($monitor)?></em> 查询，消耗时间 <em><?=number_format($monitor->totalSecs, 8, '.', '')?></em> 秒<br />
<? foreach ($monitor as $query) { ?>
<pre><?=$query->sql?><div style="color:gray;">-- <?=number_format($query->secs, 8, '.', '')?> 秒</div></pre>
<? } ?>
</div>
<? } ?>
</body>
</html>
